LIDAR API Commands
Commands available from the LIDAR via direct serial connection or through the Main PCB API
To access the API directly via the serial connection of the sensor, send an ESCAPE character (0x1B).
The lidar then responds with an invite : "#"
You can then enter commands (below is the result of Help command, some additional hidden commands are probably available):
- GetVersion
- Help
- Log
- SaveCal
- SetBaud
- SetSerial
- Upload
- Wanderer
- Calibrate b16 b8 SunBlind loop2AA loop155
- GetCal A B C LPT LFL LFT LFH IMX IB LPI LCH LPD ANG
- SetCal A B C LPT LFL LFT LFH IMX IB LPI LCH LPD ANG
- Spin Fake DotX DotI Text Hash Timing Foto RPS Pac
- TestEncoder
Commands are case-insensitive, and can be entered incompletly : getversion, getvers, getv, GeTvErSiOn will all work alike.
Be aware that one at least of these commands can brick your LDS...
Here are the details of what is currently known about these commands: (To be completed!)
Prints informations about the version of the LDS.
Example:
GetVersion...press ESC 3 times to abort...OK
Piccolo Laser Distance Scanner
Copyright (c) 2009-2010 Neato Robotics, Inc.
All Rights Reserved
Loader V2.4.13386
CPU F2802x/c600
Serial AAA42110AA-0003616
LastCal [2010110136]
Runtime V2.4.13386
SUCCEEDED
Prints a list of available commands.
Example:
Help...press ESC 3 times to abort...
GetVersion
Help
Log
SaveCal
SetBaud
SetSerial
Upload
Wanderer
Calibrate b16 b8 SunBlind loop2AA loop155
GetCal A B C LPT LFL LFT LFH IMX IB LPI LCH LPD ANG
SetCal A B C LPT LFL LFT LFH IMX IB LPI LCH LPD ANG
Spin Fake DotX DotI Text Hash Timing Foto RPS Pac
TestEncoder
SUCCEEDED
Draws a squirrel in a heart, in ASCII art...
Example:
Wanderer...press ESC 3 times to abort...
.-"""-. .-"""-.
/,:;;:; ,'=. \
: ;:;:;' .=" ,'_\ ;
: ':;:;,/ ,__:= ;
\ ';;:; =./)_ /
`.`"=\_ )_"`.'
`. ``'".'
`. .'
`.'
SUCCEEDED
- Calibrate b16 b8 SunBlind loop2AA loop155
- GetCal A B C LPT LFL LFT LFH IMX IB LPI LCH LPD ANG
- SetCal A B C LPT LFL LFT LFH IMX IB LPI LCH LPD ANG
- Spin Fake DotX DotI Text Hash Timing Foto RPS Pac